package com.xiyoukt.springboot;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;

@Profile({"test"})
@Component
public class Dog implements Animal {
    @Override
    public void hat() {
        System.out.println("kugou");
    }
}
